package entry;

public class Books {
    private Integer bookid;
    private String bookname;
    private String bookauthor;
    private String bookpublish;
    private Integer bookpage;
    private Double bookprice;
    private String createdate;

    public Books(Integer bookid, String bookname, String bookauthor, String bookpublish, Integer bookpage, Double bookprice, String createdate) {
        this.bookid = bookid;
        this.bookname = bookname;
        this.bookauthor = bookauthor;
        this.bookpublish = bookpublish;
        this.bookpage = bookpage;
        this.bookprice = bookprice;
        this.createdate = createdate;
    }

    public Books() {
    }

    public Integer getBookid() {
        return bookid;
    }

    public void setBookid(Integer bookid) {
        this.bookid = bookid;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public String getBookauthor() {
        return bookauthor;
    }

    public void setBookauthor(String bookauthor) {
        this.bookauthor = bookauthor;
    }

    public String getBookpublish() {
        return bookpublish;
    }

    public void setBookpublish(String bookpublish) {
        this.bookpublish = bookpublish;
    }

    public Integer getBookpage() {
        return bookpage;
    }

    public void setBookpage(Integer bookpage) {
        this.bookpage = bookpage;
    }

    public Double getBookprice() {
        return bookprice;
    }

    public void setBookprice(Double bookprice) {
        this.bookprice = bookprice;
    }

    public String getCreatedate() {
        return createdate;
    }

    public void setCreatedate(String createdate) {
        this.createdate = createdate;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bookid=" + bookid +
                ", bookname='" + bookname + '\'' +
                ", bookauthor='" + bookauthor + '\'' +
                ", bookpublish='" + bookpublish + '\'' +
                ", bookpage=" + bookpage +
                ", bookprice=" + bookprice +
                ", createdate='" + createdate + '\'' +
                '}';
    }
}
